package com.itheima.consumer.config;

import org.springframework.amqp.core.Queue;
import org.springframework.amqp.core.QueueBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @className:QueueConfig
 * @date: 2025/7/14 上午11:21
 * @description:
 */
@Configuration
public class QueueConfig {
    /**
     * 延迟队列
     * @return
     */
    //@Bean
    //public Queue lazyQueue() {
    //    return QueueBuilder
    //            .durable("lazy.queue")
    //            .lazy()
    //            .build();
    //}
}
